<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
	<el-row>
	  <el-button @click="bind">默认按钮</el-button>
	  <el-button type="primary">主要按钮</el-button>
	  <el-button type="success">成功按钮</el-button>
	  <el-button type="info">信息按钮</el-button>
	  <el-button type="warning">警告按钮</el-button>
	  <el-button type="danger">危险按钮</el-button>
	</el-row>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'
import {createWindow} from '@/plugins'
export default {
	name: 'HomeView',
	components: {
		HelloWorld
	},
	methods:{
		bind(){
			createWindow({
				title: '关于页面',
				route: '/about?id=13',
				width: 750,
				height: 450,
				resizable: false,
			})
		}
	}
}
</script>
